package com.liqi.deployment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.liqi.common.annotation.Excel;
import com.liqi.common.core.domain.BaseEntity;

/**
 * 运维人员信息对象 dv_operation_user
 * 
 * @author Lwy
 * @date 2022-02-16
 */
public class DvOperationUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 运维人员ID */
    @Excel(name = "运维人员ID")
    private String operationUserCode;

    /** 姓名 */
    @Excel(name = "姓名")
    private String operationUserName;

    /** 性别（0男 1女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private String sex;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 状态（0正常 1失效） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=失效")
    private Integer status;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;
    /** 创建用户id */
    @Excel(name = "创建用户id")
    private String createUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOperationUserCode(String operationUserCode) 
    {
        this.operationUserCode = operationUserCode;
    }

    public String getOperationUserCode() 
    {
        return operationUserCode;
    }
    public void setOperationUserName(String operationUserName) 
    {
        this.operationUserName = operationUserName;
    }

    public String getOperationUserName() 
    {
        return operationUserName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }


    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operationUserCode", getOperationUserCode())
            .append("operationUserName", getOperationUserName())
            .append("sex", getSex())
            .append("phoneNumber", getPhoneNumber())
            .append("email", getEmail())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
